package com.qf.goods.service.impl;

import com.qf.goods.entity.GoodsSort;
import com.qf.goods.mapper.GoodsSortMapper;
import com.qf.goods.service.GoodsSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_goods
 * @Package com.qf.goods.service.impl
 * @Description: ${TODO}
 * @Date 2021/10/3 13:28
 */

@Service
public class GoodsSortServiceImpl implements GoodsSortService {

    @Autowired
    private GoodsSortMapper goodsSortMapper;


    @Override
    public List<GoodsSort> findAll() {
        return goodsSortMapper.selectByExample(null);
    }
}
